import { TASK_STATUS_TYPES_MAP } from '@/pageProject/project/work/index';
import {
  CONTRACT_EXAMINE_APPROVE_STATUS_ENUM_MAP,
  PAY_STATUS_MAP,
  FUND_EXPEND_STATUS_MAP,
  FUNDS_STATUS_MAP,
} from '@/enums/financeEnum';
import {
  APPROVE_STATUS,
  APPROVE_SUBSCRIBE_STATUS,
  QUALITY_APPROVE_STATUS,
  RECTIFICATION_STATUS,
} from '@/enums/qualityEnum';

export const str = '212121';

export const TodoListMap: any = [
  {
    label: '意向申请',
    bgColor: '#dbf1e1',
    borderColor: '#19be6b',
    value: 1,
    routerName: 'projectApplication',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'businessNo',
      },
      {
        label: '申办方',
        prop: 'businessOrgName',
      },
      {
        label: '专业/主要研究者',
        prop: 'businessSubName',
      },
    ],
    status: {
      ...TASK_STATUS_TYPES_MAP,
    },
  },
  {
    label: '立项申请',
    bgColor: '#dbf1e1',
    borderColor: '#19be6b',
    value: 2,
    routerName: 'projectApplication',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'businessNo',
      },
      {
        label: '申办方',
        prop: 'businessOrgName',
      },
      {
        label: '专业/主要研究者',
        prop: 'businessSubName',
      },
    ],
    status: {
      ...TASK_STATUS_TYPES_MAP,
    },
  },
  {
    label: '任务审批',
    bgColor: '#ecf5ff',
    borderColor: '#2979ff',
    value: 3,
    routerName: 'taskDetails',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'projectNo',
      },
      {
        label: '任务责任人',
        prop: 'businessSubName',
      },
    ],
    status: {
      ...TASK_STATUS_TYPES_MAP,
    },
  },
  {
    label: '合同管理',
    bgColor: '#fef0f0',
    borderColor: '#fa3534',
    value: 4,
    routerName: 'contract',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'projectNo',
      },
      {
        label: '委托方',
        prop: 'businessOrgName',
      },
    ],
    status: {
      ...CONTRACT_EXAMINE_APPROVE_STATUS_ENUM_MAP,
    },
    subName: '纸质合同：',
  },
  {
    label: '经费入账',
    bgColor: '#fef0f0',
    borderColor: '#fa3534',
    routerName: 'payRegister',
    value: 5,
    labelValueList: [
      {
        label: '项目编号',
        prop: 'projectNo',
      },
      {
        label: '付款方',
        prop: 'businessOrgName',
      },
      {
        label: '付款金额',
        prop: 'amount',
      },
    ],
    status: {
      ...PAY_STATUS_MAP,
    },
  },
  {
    label: '经费支出',
    bgColor: '#fef0f0',
    borderColor: '#fa3534',
    value: 6,
    routerName: 'fundExpend',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'projectNo',
      },
      {
        label: '费用类型',
        prop: 'businessName',
      },
      {
        label: '申请支出金额',
        prop: 'amount',
      },
    ],
    status: {
      ...FUND_EXPEND_STATUS_MAP,
    },
  },
  {
    label: '经费调整',
    bgColor: '#fef0f0',
    borderColor: '#fa3534',
    value: 7,
    routerName: 'fundAdjust',
    labelValueList: [
      {
        label: '项目编号',
        prop: 'projectNo',
      },
    ],
    status: {
      ...FUNDS_STATUS_MAP,
    },
  },
  {
    label: '质控计划',
    bgColor: '#fdf6ec',
    borderColor: '#f90',
    value: 8,
    labelValueList: [],
    status: {
      ...APPROVE_STATUS,
    },
  },
  {
    label: '质控预约',
    bgColor: '#fdf6ec',
    borderColor: '#f90',
    value: 9,
    labelValueList: [],
    status: {
      ...APPROVE_SUBSCRIBE_STATUS,
    },
  },
  {
    label: '质控报告',
    bgColor: '#fdf6ec',
    borderColor: '#f90',
    value: 10,
    labelValueList: [],
    status: {
      ...QUALITY_APPROVE_STATUS,
    },
  },
  {
    label: '问题跟踪',
    bgColor: '#fdf6ec',
    borderColor: '#f90',
    value: 11,
    labelValueList: [],
    status: {
      ...RECTIFICATION_STATUS,
    },
  },
  {
    label: '访视待办',
    bgColor: '#f5b4d2',
    borderColor: '#ea5099',
    value: 12,
    labelValueList: [],
    status: {},
  },
  {
    label: 'SAE',
    bgColor: '#a4d7d7',
    borderColor: '#00a098',
    value: 13,
    labelValueList: [],
    status: {},
  },
  {
    label: 'SUSAR',
    bgColor: '#a4d7d7',
    borderColor: '#00a098',
    value: 14,
    labelValueList: [],
    status: {},
  },
  {
    label: 'DSUR',
    bgColor: '#a4d7d7',
    borderColor: '#00a098',
    value: 15,
    labelValueList: [],
    status: {},
  },
  {
    label: '伦理待办',
    bgColor: '#9fd8f6',
    borderColor: '#00a0ea',
    value: 16,
    labelValueList: [],
    status: {},
  },
  {
    // color: #00a0ea;
    // background-color: #d1e9f5;
    label: '电子签署',
    bgColor: '#FFF7E8',
    borderColor: '#FF8311',
    value: 17,
    labelValueList: [
      {
        label: '项目编号',
        prop: 'businessNo',
      },
      {
        label: '申办方',
        prop: 'businessOrgName',
      },
    ],
    status: {
      ...TASK_STATUS_TYPES_MAP,
    },
  },
];
